package fjh.Interface;

public class Div implements Compute{

    public int computer(int n,int m)
    {
        if(m==0)
        {
            System.out.println("除数不能为0！");
            System.exit(1);
        }
        return n/m;
    }
}
